package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallActivitySourceDao;
import com.appkubes.mall.core.entity.MallActivitySource;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallActivitySourceService extends AbstractBaseService<BaseMallActivitySourceDao, MallActivitySource> {

    MallActivitySource getOneByEntity(MallActivitySource entity);

    List<MallActivitySource> selectListByEntity(MallActivitySource entity);

    IPage<MallActivitySource> selectPageByEntity(IPage<MallActivitySource> page);
    IPage<MallActivitySource> selectPageByEntity(PageVO pageVO);

    IPage<MallActivitySource> selectPageByEntity(MallActivitySource entity, IPage<MallActivitySource> page);
    IPage<MallActivitySource> selectPageByEntity(MallActivitySource entity, PageVO pageVO);

    IPage<MallActivitySource> selectPageByEntity(MallActivitySource entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallActivitySource entity);
}
